package com.waves.chat.domain.pojo.msg;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Description: 语音消息入参
 * Author: dlw
 * Date: 2024-06-04
 */
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class SoundMsgPOJO extends BaseFilePOJO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 时长（秒）
     */
    @NotNull
    private Integer second;
}
